package com.active.service.listener;

import lombok.extern.slf4j.Slf4j;
import org.activiti.engine.delegate.DelegateTask;
import org.activiti.engine.delegate.TaskListener;

import java.io.Serializable;

/**
 * Created by Administrator on 2019/6/14 0014.
 */
@Slf4j
public class TaskAssigneeListener implements Serializable,TaskListener {


    @Override
    public void notify(DelegateTask delegateTask) {
      log.info("监听任务分配人是否变动;{}",delegateTask.getAssignee());
    }
}
